package com.be.beadmin.service.entity;


import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Data
@Table(name="T_FILE_DATA")
public class FileData extends BaseEntity {
    @Column(name = "BUCKET_NAME",columnDefinition = "VARCHAR(50) COMMENT '文件路径地址' ")
    private String bucketName;

    @Column(name = "FILE_NAME",columnDefinition = "VARCHAR(50) COMMENT '文件路径地址' ")
    private String fileName;

    @Column(name = "FILE_TYPE_CODE",columnDefinition = "VARCHAR(50) COMMENT '文件类型编码' ")
    private String fileTypeCode;

    @Column(name = "FILE_TYPE_NAME",columnDefinition = "VARCHAR(200) COMMENT '文件类型名称' ")
    private String fileTypeName;

    @Column(name = "FILE_LENGTH",columnDefinition = "INT COMMENT '文件长度' ")
    private Long fileLength;


    @Column(name = "FILE_PATH",columnDefinition = "VARCHAR(200) COMMENT '文件路径' ")
    private String filePath;

    @Column(name = "STATUS",columnDefinition = "decimal(1) COMMENT '文件状态' ")
    private Integer status;
}
